package com.bckj.freshnow.goods.convert;

import com.bckj.fastboot.core.mapstruct.MapStructConfig;
import com.bckj.freshnow.goods.entity.GoodsSku;
import com.bckj.freshnow.goods.model.GoodsSkuResponse;
import com.bckj.freshnow.goods.model.GoodsSkuRequest;

import org.mapstruct.Mapper;

/**
 * 商品SKU表(GoodsSku)数据转换
 *
 * @author makejava
 * @since 2025-04-21 16:19:37
 */
@Mapper(config = MapStructConfig.class)
public interface GoodsSkuConvert {

    GoodsSku request2Bean(GoodsSkuRequest request);
    
    GoodsSkuResponse bean2Response(GoodsSku bean);
}
